cmake_minimum_required(VERSION 3.10)
project(ChatServer)

# 设置C++标准
set(CMAKE_CXX_STANDARD 17)

# 添加源文件
file(GLOB_RECURSE SOURCES "src/*.cpp")

# 添加可执行文件
add_executable(chat_server ${SOURCES})

# 链接必要的库
target_link_libraries(chat_server pthread)
